<?php
/**
 * Created by 抒己社区论坛.
 * User: wjx
 * Email:978976871@qq.com
 * Date: 2018/10/11
 * Time: 10:16
 */
namespace app\admin\controller;

use think\facade\View;
use app\common\controller\Base;
use app\admin\model\Admin;
use think\facade\Session;
//use think\Controller;

class Index extends Base{
    function initialize(){
        parent::initialize();
    }
    /**
     * 首页
     */
    public function index(){
        return $this->fetch();
    }
    /**
     * 注销登陆
     */
    public function quit_login(){
        Session::delete(config('app.session__config.session_info'));
        Session::delete(config('app.session__config.session_sign'));
        $this->redirect(url('admin/login/index'));
    }
}